Answer:

LET LENGTH = 21
DIM MYDATA( 1 TO LENGTH )
FOR COUNT=1 TO LENGTH
  LET MYDATA( COUNT ) = 48.23
NEXT COUNT
END

Array Length Input from the User

Since the length of an array can be in a variable, it can be input from the user. Here is a program that does that:

PRINT "What length do you want?"
INPUT _________
DIM MYDATA( 1 TO LENGTH )

FOR COUNT=1 TO LENGTH
  LET MYDATA( COUNT ) = 48.23
NEXT COUNT

FOR COUNT=1 TO  ________ 
  PRINT MYDATA( COUNT )
NEXT COUNT

END

QUESTION 8:

Fill in the blue blanks.